﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AbetEvaluation.Business
{
    public class Rubric
    {
        public Guid OutcomeID
        {
            get;
            set;
        }

        public Guid RubricID
        {
            get;
            set;
        }

        public String CategoryName
        {
            get;
            set;
        }

        public int LowerBound
        {
            get;
            set;
        }

        public int UpperBound
        {
            get;
            set;
        }

        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return false;
            }

            Rubric other = (Rubric)obj;
            return this.RubricID.Equals(other.RubricID);
        }

        public override int GetHashCode()
        {
            return this.RubricID.GetHashCode();
        }
    }
}
